-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
6.0.4 (latest)
-
Code
-
Classes
- ShortPixelPlugin
Total Complexity |
76 |
Dependencies |
21 |
Dependents |
1 |
Total lines |
697 |
Lines of code |
427 |
Logical lines of code |
263 |
Comment lines |
117 |
Methods |
21 |
Properties |
7 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
route() |
A |
41 |
14 |
54 |
admin_scripts() |
A |
29 |
8 |
136 |
load_admin_scripts() |
A |
43 |
12 |
51 |
initHooks() |
A |
39 |
10 |
59 |
lowInit() |
S |
53 |
5 |
21 |
load_script() |
S |
59 |
5 |
15 |
load_style() |
S |
64 |
3 |
10 |
check_plugin_version() |
S |
68 |
2 |
8 |
plugin_path() |
S |
69 |
2 |
7 |
plugin_url() |
S |
69 |
2 |
7 |
getInstance() |
S |
71 |
2 |
6 |
admin_pages() |
S |
62 |
2 |
10 |
admin_styles() |
S |
61 |
1 |
11 |
get_admin_pages() |
S |
82 |
1 |
3 |
__construct() |
S |
78 |
1 |
3 |
ajaxHooks() |
S |
66 |
1 |
8 |
fileSystem() |
S |
80 |
1 |
3 |
env() |
S |
80 |
1 |
3 |
settings() |
S |
81 |
1 |
3 |
init() |
S |
71 |
1 |
6 |
admin_network_pages() |
S |
76 |
1 |
3 |